package com.ruoyi.qywx.callback.events;

import com.ruoyi.common.core.cache.Meta;
import com.ruoyi.qywx.callback.txl.Encrypt;
import com.ruoyi.qywx.service.inters.SyncQiyeService;
import lombok.Getter;

/**
 * @author : hcl
 * @Date : 2023/8/21 14:01
 */
@Getter
public abstract class QywxEvent<T extends Encrypt> {
    private final SyncQiyeService syncService;
    private final  T encrypt;
    private final Meta meta;

    public QywxEvent(SyncQiyeService syncService, T encrypt, Meta meta) {
        this.syncService = syncService;
        this.encrypt = encrypt;
        this.meta = meta;
    }

    public abstract void eventExecute();
}
